#pragma once
#include <QApplication>
#include <QMainWindow>
#include <iostream>

#include "src/qbe.hpp"

using namespace qbe;

int main(int argc, char* argv[]) {
  QApplication application(argc, argv);

  ecs::App app;

  ecs::DefaultPlugin defalut_plugin;
  render::Render render;
  input::Input input_plugin;
  axis::AxisPlugin axis_plugin;
  drawing::Drawing draw_plugin;

  app.add_plugins(defalut_plugin);
  app.add_plugins(input_plugin);
  app.add_plugins(render);
  app.add_plugins(axis_plugin);
  app.add_plugins(draw_plugin);

  app.run();

  return application.exec();
}